import { Loading, MessageBox, Button, Message, Form, FormItem, Select, Option, OptionGroup, Input, InputNumber } from 'element-ui'

export default {
	install(V) {
		V.use(Input)
		V.use(InputNumber)
		V.use(Button)
		V.use(Select)
		V.use(Option)
		V.use(OptionGroup)
		V.use(Form)
		V.use(FormItem)
		V.use(Loading.directive)
		V.prototype.$alert = MessageBox.alert
		V.prototype.$Loading = Loading
		V.prototype.$confirm = MessageBox.confirm
		V.prototype.$message = Message
	}
}
